package com.jkl.zookeeperserver.Properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "zookeeper")
public class ZookeeperProperties {
    String address;
    String rootNode;
    int sessionTimeOutMs;
    int connectTimeOutMs;
    int baseSleepTimeMs;
    int maxRetries;
}
